package com.tx.admin.core.entity;

import javax.persistence.MappedSuperclass;
import javax.validation.constraints.NotBlank;

import com.alibaba.excel.annotation.ExcelProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@MappedSuperclass
@Data
public abstract class CardEntity extends SuperEntity{

	@NotBlank
	@ApiModelProperty("标题")
	@ExcelProperty(value="标题")
	private String label;
	
	@NotBlank
	@ApiModelProperty("摘要")
	@ExcelProperty(value="摘要")
	private String digest;
	
}
